package com.cyk.mongodemo1.model;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "data")
@lombok.Data
@NoArgsConstructor
@AllArgsConstructor
public class Data {

    @Id
    private String _id;
    private String type;
    private String jsonConfig;

}

